# 获取短信验证码
import logging

from utils.mysql_util import db


def get_banner_num():
    sql = "select count(*) as banner_num from goods_banner"
    result = db.select_db_one(sql)
    logging.info(f'sql执行结果：{result}')
    return result['banner_num']



